package com.dao;

import java.util.List;

import com.model.User;

public interface UserDAO {
	// add user
	public boolean addUser(User user);

	// delete user
	public boolean deleteUser(int id);

	// update user
	public boolean updateUser(User user, int id);

	// query user
	public List<?> selectUser();
/*
	// user login
	public boolean loginUser(User user);
*/
	// validate user
	public User validateUser(String username, String password);
}
